/*
 Responsive Mega Menu v1.3
 
 Changelog
	v1.3
		- Changed HTML structure to use List for menus
		- Added option to show mobile menu collapsed or uncollapsed
		- Some CSS bug fixes for buttons
		- Separated responsive CSS to its own separate file
		- Added respnsiveness for 320px and below width
		- IE8 support for desktop menu (note: IE8 does not support responsiveness)
		
	v1.2
		- Show menu on Hover
		- Regular dropdown with Submenu support
		
	v1.1
		- Now supports up to 6 menus
		- 2 extra styles, Gradient and Fade In
		- Supports Search bar in navigation
		- Extra Google font choices available
		- 90% smaller JS and 20% ligher CSS

	v1.0
		- Up to 5 menus supported
		- 5 styles
		- 5 colors
		- responsive video with Fitvid.js
 
 Custom styles for use with your Bootstrap powered site
 Developed by Weborithm.
 Follow me on twitter.com/weborithm
 
*/

/* Used for Fitvid.js, helps your videos s t r e t c h and condense */
	video { width: 100%; height: auto; }

/* Fonts */

	/* Header */
	.nav, .nav-title span { font-family: 'Karla', sans-serif; }
	.nav-title span { font-weight: normal; }

	/* Header */
	.nav-header, .nav-title { font-family: 'Lato', sans-serif; font-weight: 400; }

/* Misc. styles */
	.btn:hover { background-position: 0; }
	
	.nav-collapse .navbar-form,
	.nav-collapse .navbar-search { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }

/* Turn dropdown on hover on/off */
ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; } 

/* Title */
.nav-title, .nav-header {
display: block;
padding: 0 0 5px;
margin: 5px 0 5px;
font-size: 11px;
line-height: 20px;
color: #000;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
border-bottom: 1px solid #f5f5f5;
text-transform: uppercase; 
letter-spacing: 0.5px; }

.nav-title span { display: block; color: #999; font-weight: normal; font-size: 14px; font-style: italic; text-transform: lowercase; }
.nav-header { border: 0; text-transform: none; }

/* Dropdown Menu */
.dropdown-menu li > a.no-background,
.dropdown-menu li > a.no-background:hover,
.dropdown-menu li > a.no-background:focus,
.dropdown-menu .active > a.no-background,
.dropdown-menu .active > a.no-background:hover,
.dropdown-submenu:hover > a.no-background,
.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus { padding: 0; background: none; }

.dropdown-menu li a { white-space: normal; display: block; padding: 0 0 5px; }
.dropdown-menu li > a.no-background img { display: block; margin-left: auto; margin-right: auto; }
.dropdown .dropdown-menu .nav-header { padding-left: 0; padding-bottom: 0; margin: 0; }

.dropdown-menu { 
border-width: 4px;
border-color: #f5f5f5;
padding: 10px 10px 0;
margin: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none; }

.dropdown-menu ul { padding-bottom: 10px; }

/* Links */

.navbar .nav > li > a { color: #ddd; }

.dropdown-menu .active > a,
.dropdown-menu li > a,
.dropdown-submenu > a { color: #555; padding: 0 0 5px; }

.dropdown-menu .active > a,
.dropdown-menu .active > a:hover,
.dropdown-menu li > a:hover,
.dropdown-menu li > p a:hover,
.dropdown-menu li > a:focus,
.dropdown-submenu:hover > a { color: #0066cc; text-decoration: none; background: none; background-color: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-image: none;
  background-repeat: none;
  filter: none; }

.dropdown-submenu > a:after { margin-right: -5px; }

/* For menu separation */
.dropdown-separator { margin: 0 0 10px; clear: both; content: " "; display: block; }

/* Thumbnail */
.dropdown-menu .thumbnail {
border: 0; padding: 0; margin: 15px 0;
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }

/* Search */
.mega-form { padding: 0; display: inline-block; }
.nav .form-search, .nav .form-inline { margin: 0; }

/* Mega Menu Floats */
.mega-menu-2 li, .mega-menu-3 li, .mega-menu-4 li, .mega-menu-5 li, .mega-menu-6 li { float: left; }
.mega-menu-2 li li, .mega-menu-3 li li, .mega-menu-4 li li, .mega-menu-5 li li, .mega-menu-6 li li { float: none; }

/* 2 Menus */
.mega-menu-2 ul.dropdown-menu { width: 290px; }
.mega-menu-2 ul ul { list-style: none; margin: 0 10px 5px; float: left; width: 100%; }

/* 3 Menus */
.mega-menu-3 ul.dropdown-menu { width: 435px; }
.mega-menu-3 ul ul { list-style: none; margin: 0 10px 5px; float: left; width: 100%; }

/* 4 Menus */
.mega-menu-4 ul.dropdown-menu { width: 580px; }
.mega-menu-4 ul ul { list-style: none; margin: 0 10px 5px; float: left; width: 100%; }

/* 5 Menus */
.mega-menu-5 ul.dropdown-menu { width: 725px; }
.mega-menu-5 ul ul { list-style: none; margin: 0 10px 5px; float: left; width: 100%; }

/* 6 Menus*/
.mega-menu-6 ul.dropdown-menu { width: 780px; }
.mega-menu-6 ul ul { list-style: none; margin: 0 10px 5px; float: left; width: 100%; }

/* Social */
.dropdown-menu ul li.social a, .dropdown-menu ul li.social img { display: inline-block; }

/* Column Menu */
.two-column:after, .three-column:after, .four-column:after, .five-column:after, .mega-wide:after { clear: both; content: " "; display: block; line-height: 0; height: 0; visibility: hidden; }

.mega-menu-2 li.one-column,
.mega-menu-3 li.one-column,
.mega-menu-4 li.one-column,
.mega-menu-5 li.one-column { width: 125px; margin-right: 20px; }
.mega-menu-6 li.one-column { width: 110px; margin-right: 20px; }

.mega-menu-2 li.two-column,
.mega-menu-3 li.two-column,
.mega-menu-4 li.two-column,
.mega-menu-5 li.two-column { width: 270px; margin-right: 20px; }

.mega-menu-6 li.two-column { width: 240px; margin-right: 20px; }

.mega-menu-3 li.three-column,
.mega-menu-4 li.three-column,
.mega-menu-5 li.three-column { width: 415px; margin-right: 20px; }

.mega-menu-6 li.three-column { width: 370px; margin-right: 20px; }

.mega-menu-4 li.four-column,
.mega-menu-5 li.four-column { width: 560px; margin-right: 20px; }

.mega-menu-5 li.five-column { width: 705px; margin-right: 20px; }

.mega-menu-6 li.four-column { width: 500px; margin-right: 20px; }
.mega-menu-6 li.five-column { width: 630px; margin-right: 20px; }
.mega-menu-6 li.six-column { width: 760px; margin-right: 0; }
	
/* Default Transition */
.transition a {
-webkit-transition: 0.2s ease-in-out; /** Chrome & Safari **/
-moz-transition: 0.2s ease-in-out; /** Firefox **/
-o-transition: 0.2s ease-in-out; /** Opera **/ }
.transition a:hover {
padding-left: 3px; 
-webkit-transition: 0.2s ease-in-out; /** Chrome & Safari **/
-moz-transition: 0.2s ease-in-out; /** Firefox **/
-o-transition: 0.2s ease-in-out; /** Opera **/ }

/* Add Products */
.mega-menu-2 .add-products li.nav-title,
.mega-menu-3 .add-products li.nav-title,
.mega-menu-4 .add-products li.nav-title,
.mega-menu-5 .add-products li.nav-title,
.mega-menu-6 .add-products li.nav-title { width: 100%; margin-left: 0; margin-right: 0; }

.mega-menu-2 .add-products li,
.mega-menu-3 .add-products li,
.mega-menu-4 .add-products li,
.mega-menu-5 .add-products li,
.mega-menu-6 .add-products li  { display: inline-block; margin-left: 5.5px; margin-right: 5.1px; width: 125px; }

/* Well */
.dropdown-menu p.well { margin: 10px 0 5px; }

/* For Images */
.mega-menu-2 img,
.mega-menu-3 img,
.mega-menu-4 img,
.mega-menu-5 img,
.mega-menu-6 img { margin-bottom: 5px; width: none; }

.img-left { display: inline-block; float: left; margin: 0 10px 5px 0; }
.img-right { display: inline-block; float: right; margin: 0 0 5px 10px; }

/* With Padding */
.with-padding { padding: 0 0 15px; }

/* With Image */
.with-image img { display: block; margin: 0 0 5px; }
.with-image img.img-left { margin: 0 10px 5px 0; width: 125px; height: auto; }
.with-image img.img-right { margin: 0 0 5px 10px; width: 125px; height: auto; }

/* Nav Collapse */
.nav-collapse li.dropdown { float: left; }

/* Style Plain */
.style-plain { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
.navbar .nav > li > .style-plain:before { border-left: 0; border-right: 0; border-bottom: 0; border-bottom-color: none; }
.navbar .nav > li > .style-plain:after { border-left: 0; border-right: 0; border-bottom: 0; }

/* Style Straight */
.style-straight { -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; }

/* Style Bottom Round */
.style-bottom-round { -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; border-top-right-radius: 0; -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0; border-top-left-radius: 0; -webkit-border-bottom-right-radius: 6px; -moz-border-radius-bottomright: 6px; border-bottom-right-radius: 6px; -webkit-border-bottom-left-radius: 6px; -moz-border-radius-bottomleft: 0; border-bottom-left-radius: 6px; }

/* Style Transparent */
.style-transparent { background: rgba(255,255,255,0.95); }

/* Style Background */
.style-background { background: #fff url(../img/noise.gif); }
.navbar .nav > li > .style-background:before { display: none; }
.navbar .nav > li > .style-background:after { display: none; }

/* Style Fade In */
.style-fade-in {
background: #fff;
-webkit-transition: background 1s ease;
-moz-transition: background 1s ease;
-ms-transition: background 1s ease;
-o-transition: background 1s ease;
transition: background 1s ease; }
.style-fade-in:hover {
background: #fafafa;
-webkit-transition: background 1s ease;
-moz-transition: background 1s ease;
-ms-transition: background 1s ease;
-o-transition: background 1s ease;
transition: background 1s ease; }

/* Style Gradient */
.style-gradient { background: rgb(255, 255, 255);
background: -moz-linear-gradient(180deg, rgb(255, 255, 255) 10%, rgb(250, 250, 250) 100%);
background: -webkit-linear-gradient(180deg, rgb(255, 255, 255) 10%, rgb(250, 250, 250) 100%);
background: -o-linear-gradient(180deg, rgb(255, 255, 255) 10%, rgb(250, 250, 250) 100%);
background: -ms-linear-gradient(180deg, rgb(255, 255, 255) 10%, rgb(250, 250, 250) 100%);
background: linear-gradient(180deg, rgb(255, 255, 255) 10%, rgb(250, 250, 250) 100%); }

/* No Padding */
.dropdown-menu .no-padding { padding: 0; }

/* BTN's */
.dropdown-menu .btn { color: #333; padding-top: 3px; }
.dropdown-menu .btn-inverse, .dropdown-menu .btn-success, .dropdown-menu .btn-danger, .dropdown-menu .btn-warning, .dropdown-menu .btn-info, .dropdown-menu .btn-primary { color: #fff; padding-bottom: 3px; padding-top: 3px; }

.dropdown-menu a.btn:hover,
.dropdown-menu a.btn:focus,
.dropdown-menu a.btn:active,
.dropdown-menu a.btn.active,
.dropdown-menu a.btn.disabled,
.dropdown-menu a.btn[disabled] { padding-left: 0; color: #333; background-color: #e6e6e6; *background-color: #d9d9d9; }

.dropdown-menu a.btn-inverse:hover,
.dropdown-menu a.btn-inverse:focus,
.dropdown-menu a.btn-inverse:active,
.dropdown-menu a.btn-inverse.active,
.dropdown-menu a.btn-inverse.disabled,
.dropdown-menu a.btn-inverse[disabled] { color: #fff; background-color: #222222; *background-color: #151515; }

.dropdown-menu a.btn-success:hover,
.dropdown-menu a.btn-success:focus,
.dropdown-menu a.btn-success:active,
.dropdown-menu a.btn-success.active,
.dropdown-menu a.btn-success.disabled,
.dropdown-menu a.btn-success[disabled] { color: #fff; background-color: #51a351; *background-color: #499249; }

.dropdown-menu a.btn-danger:hover,
.dropdown-menu a.btn-danger:focus,
.dropdown-menu a.btn-danger:active,
.dropdown-menu a.btn-danger.active,
.dropdown-menu a.btn-danger.disabled,
.dropdown-menu a.btn-danger[disabled] { color: #fff; background-color: #bd362f; *background-color: #a9302a; }

.dropdown-menu a.btn-warning:hover,
.dropdown-menu a.btn-warning:focus,
.dropdown-menu a.btn-warning:active,
.dropdown-menu a.btn-warning.active,
.dropdown-menu a.btn-warning.disabled,
.dropdown-menu a.btn-warning[disabled] { color: #fff; background-color: #f89406; *background-color: #df8505; }

.dropdown-menu a.btn-info:hover,
.dropdown-menu a.btn-info:focus,
.dropdown-menu a.btn-info:active,
.dropdown-menu a.btn-info.active,
.dropdown-menu a.btn-info.disabled,
.dropdown-menu a.btn-info[disabled] { color: #fff; background-color: #2f96b4; *background-color: #2a85a0; }

.dropdown-menu a.btn-primary:hover,
.dropdown-menu a.btn-primary:focus,
.dropdown-menu a.btn-primary:active,
.dropdown-menu a.btn-primary.active,
.dropdown-menu a.btn-primary.disabled,
.dropdown-menu a.btn-primary[disabled] { color: #fff; background-color: #0044cc; *background-color: #003bb3; }

@media (max-width: 979px) {

/* This turns the display of all menu items on/off
.nav-collapse .dropdown-menu { display: block; } */

/* Fade in Effect */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
/*.nav-collapse .open .dropdown-menu, .nav-collapse  .dropdown:hover .dropdown-menu { -webkit-animation: fadeIn 1.2s; animation: fadeIn 1.2s; }*/

.navbar-inner { padding: 5px 0 5px 8px; }
.navbar-fixed-top .navbar-inner { padding: 5px 0 5px 10px; }

/* Dropdown */
.dropdown { width: 100%; }
.dropdown ul.dropdown-menu { margin-left: 0; }
.dropdown ul.dropdown-menu ul { margin-left: 15px; }
.mega-menu-6 ul.dropdown-menu ul, .mega-menu-5 ul.dropdown-menu ul, .mega-menu-4 ul.dropdown-menu ul, .mega-menu-3 ul.dropdown-menu ul, .mega-menu-2 ul.dropdown-menu ul { margin-left: 0; }

.navbar li.nav-title { color: #333; border-color: #e0e0e0; text-shadow: #fff 0 1px; }
.navbar p, .navbar .nav-title span { color: #999; text-shadow: #fff 0 1px; }

/*.navbar .nav-collapse .nav > li > a:hover, .navbar .nav-collapse .dropdown-menu a:hover { color: #333; background: none; }*/

.navbar-inverse .nav-collapse .nav > li > a, .navbar-inverse .nav-collapse .dropdown-menu a { color: #ccc; }
.navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:hover { color: #fff; }

.nav-collapse .nav > li > a,
.nav-collapse .dropdown-menu a,
.nav-collapse .nav .dropdown-toggle { padding: 3px 0; font-weight: normal; text-decoration: none; }

.navbar .transition a {
-webkit-transition: 0.2s ease-in-out; /** Chrome & Safari **/
-moz-transition: 0.2s ease-in-out; /** Firefox **/
-o-transition: 0.2s ease-in-out; /** Opera **/ }

.navbar .transition a:hover {
padding-left: 3px; 
-webkit-transition: 0.2s ease-in-out; /** Chrome & Safari **/
-moz-transition: 0.2s ease-in-out; /** Firefox **/
-o-transition: 0.2s ease-in-out; /** Opera **/ }

.navbar a.dropdown-toggle { background: none !important; }

.navbar a.dropdown-toggle:hover { padding-left: 0; }

.navbar-inverse li.nav-title { color: #ccc; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); border-bottom: 1px solid #555; }
.navbar-inverse p, .navbar-inverse .nav-title span { text-shadow: #333 0 1px; }

/* For menu separation */
.dropdown-separator { margin: 0 0 10px; width: 98.5%; }

/* Responsive Fade In */
.style-fade-in {
background: none; opacity: 1;
-webkit-transition: opacity 1s ease;
-moz-transition: opacity 1s ease;
-ms-transition: opacity 1s ease;
-o-transition: opacity 1s ease;
transition: opacity 1s ease; }


.style-fade-in:hover {
background: none; opacity: 0.8;
-webkit-transition: opacity 1s ease;
-moz-transition: opacity 1s ease;
-ms-transition: opacity 1s ease;
-o-transition: opacity 1s ease;
transition: opacity 1s ease; }

/* Search */
.nav-collapse .mega-form { float: left !important; width: 100%; display: block; padding: 0 0 5px; }

.dropdown-menu .btn { color: #333 !important; }
.dropdown-menu .btn-inverse { color: #fff !important; }

.dropdown-menu a.btn:hover,
.dropdown-menu a.btn:focus,
.dropdown-menu a.btn:active,
.dropdown-menu a.btn.active,
.dropdown-menu a.btn.disabled,
.dropdown-menu a.btn[disabled] { padding-left: 0; color: #333 !important; background-color: #e6e6e6 !important; *background-color: #d9d9d9; }

.dropdown-menu a.btn-inverse:hover,
.dropdown-menu a.btn-inverse:focus,
.dropdown-menu a.btn-inverse:active,
.dropdown-menua.btn-inverse.active,
.dropdown-menu a.btn-inverse.disabled,
.dropdown-menu a.btn-inverse[disabled] { color: #fff !important; background-color: #222222 !important; *background-color: #151515; }

.dropdown-menu a.btn-success:hover,
.dropdown-menu a.btn-success:focus,
.dropdown-menu a.btn-success:active,
.dropdown-menu a.btn-success.active,
.dropdown-menu a.btn-success.disabled,
.dropdown-menu a.btn-success[disabled] { color: #fff !important; background-color: #51a351 !important; *background: #499249; }

.dropdown-menu a.btn-danger:hover,
.dropdown-menu a.btn-danger:focus,
.dropdown-menu a.btn-danger:active,
.dropdown-menu a.btn-danger.active,
.dropdown-menu a.btn-danger.disabled,
.dropdown-menu a.btn-danger[disabled] { color: #fff !important; background-color: #bd362f !important; *background-color: #a9302a; }

.dropdown-menu a.btn-warning:hover,
.dropdown-menu a.btn-warning:focus,
.dropdown-menu a.btn-warning:active,
.dropdown-menu a.btn-warning.active,
.dropdown-menu a.btn-warning.disabled,
.dropdown-menu a.btn-warning[disabled] { color: #fff !important; background-color: #f89406 !important; *background-color: #df8505; }

.dropdown-menu a.btn-info:hover,
.dropdown-menu a.btn-info:focus,
.dropdown-menu a.btn-info:active,
.dropdown-menu a.btn-info.active,
.dropdown-menu a.btn-info.disabled,
.dropdown-menu a.btn-info[disabled] { color: #fff !important; background-color: #2f96b4 !important; *background-color: #2a85a0; }

.dropdown-menu a.btn-primary:hover,
.dropdown-menu a.btn-primary:focus,
.dropdown-menu a.btn-primary:active,
.dropdown-menu a.btn-primary.active,
.dropdown-menu a.btn-primary.disabled,
.dropdown-menu a.btn-primary[disabled] { color: #fff !important; background-color: #0044cc !important; *background-color: #003bb3; }

}

